package com.qianyu.project.service.impl;

import com.qianyu.project.entity.OutputProgressPlan;
import com.qianyu.project.mapper.OutputProgressPlanMapper;
import com.qianyu.project.mapper.OutputProgressPlanSubMapper;
import com.qianyu.project.service.IOutputProgressPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 产值进度计划主表 服务实现类
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Service
public class OutputProgressPlanServiceImpl extends ServiceImpl<OutputProgressPlanMapper, OutputProgressPlan> implements IOutputProgressPlanService {
   @Autowired
   OutputProgressPlanMapper outputProgressPlanMapper;
   @Autowired
   OutputProgressPlanSubMapper outputProgressPlanSubMapper;

    @Override
    public void saveProgress(Map<String,Object> outputProgressPlan) {
        outputProgressPlanMapper.saveProgress(outputProgressPlan);
    }

    @Override
    public void savebeach(Map<String, String> o) {
        outputProgressPlanSubMapper.savebeach(o);
    }

    @Override
    public List<Map<String, Object>> List(Map<String, String> params) {
        return outputProgressPlanMapper.List(params);
    }
}
